package edu.hwadee.entity;

/**
 * Companycooperation entity. @author MyEclipse Persistence Tools
 */

public class Companycooperation implements java.io.Serializable {

	// Fields

	private Integer companycooperationId;
	private Company companyByPartA;
	private Company companyByPartB;
	private String cooperationWay;
	private String note;

	// Constructors

	/** default constructor */
	public Companycooperation() {
	}

	/** full constructor */
	public Companycooperation(Company companyByPartA, Company companyByPartB, String cooperationWay, String note) {
		this.companyByPartA = companyByPartA;
		this.companyByPartB = companyByPartB;
		this.cooperationWay = cooperationWay;
		this.note = note;
	}

	// Property accessors

	public Integer getCompanycooperationId() {
		return this.companycooperationId;
	}

	public void setCompanycooperationId(Integer companycooperationId) {
		this.companycooperationId = companycooperationId;
	}

	public Company getCompanyByPartA() {
		return this.companyByPartA;
	}

	public void setCompanyByPartA(Company companyByPartA) {
		this.companyByPartA = companyByPartA;
	}

	public Company getCompanyByPartB() {
		return this.companyByPartB;
	}

	public void setCompanyByPartB(Company companyByPartB) {
		this.companyByPartB = companyByPartB;
	}

	public String getCooperationWay() {
		return this.cooperationWay;
	}

	public void setCooperationWay(String cooperationWay) {
		this.cooperationWay = cooperationWay;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

}